Optimal. Leaf size=237 \[ -\frac {363 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{64 \sqrt {2} a^{7/2} d}+\frac {691 \sin (c+d x) \sqrt {\sec (c+d x)}}{192 a^3 d \sqrt {a \cos (c+d x)+a}}-\frac {199 \sin (c+d x) \sqrt {\sec (c+d x)}}{192 a^2 d (a \cos (c+d x)+a)^{3/2}}-\frac {19 \sin (c+d x) \sqrt {\sec (c+d x)}}{48 a d (a \cos (c+d x)+a)^{5/2}}-\frac {\sin (c+d x) \sqrt {\sec (c+d x)}}{6 d (a \cos (c+d x)+a)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.63, antiderivative size = 237, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {4222, 2766, 2978, 2984, 12, 2782, 205} \[ \frac {691 \sin (c+d x) \sqrt {\sec (c+d x)}}{192 a^3 d \sqrt {a \cos (c+d x)+a}}-\frac {199 \sin (c+d x) \sqrt {\sec (c+d x)}}{192 a^2 d (a \cos (c+d x)+a)^{3/2}}-\frac {363 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{64 \sqrt {2} a^{7/2} d}-\frac {19 \sin (c+d x) \sqrt {\sec (c+d x)}}{48 a d (a \cos (c+d x)+a)^{5/2}}-\frac {\sin (c+d x) \sqrt {\sec (c+d x)}}{6 d (a \cos (c+d x)+a)^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 205
Rule 2766
Rule 2782
Rule 2978
Rule 2984
Rule 4222
Rubi steps
\begin {align*} \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{(a+a \cos (c+d x))^{7/2}} \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{7/2}} \, dx\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {13 a}{2}-3 a \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}} \, dx}{6 a^2}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}-\frac {19 \sqrt {\sec (c+d x)} \sin (c+d x)}{48 a d (a+a \cos (c+d x))^{5/2}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {123 a^2}{4}-19 a^2 \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}} \, dx}{24 a^4}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}-\frac {19 \sqrt {\sec (c+d x)} \sin (c+d x)}{48 a d (a+a \cos (c+d x))^{5/2}}-\frac {199 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^2 d (a+a \cos (c+d x))^{3/2}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {691 a^3}{8}-\frac {199}{4} a^3 \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}} \, dx}{48 a^6}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}-\frac {19 \sqrt {\sec (c+d x)} \sin (c+d x)}{48 a d (a+a \cos (c+d x))^{5/2}}-\frac {199 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^2 d (a+a \cos (c+d x))^{3/2}}+\frac {691 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^3 d \sqrt {a+a \cos (c+d x)}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int -\frac {1089 a^4}{16 \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{24 a^7}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}-\frac {19 \sqrt {\sec (c+d x)} \sin (c+d x)}{48 a d (a+a \cos (c+d x))^{5/2}}-\frac {199 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^2 d (a+a \cos (c+d x))^{3/2}}+\frac {691 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^3 d \sqrt {a+a \cos (c+d x)}}-\frac {\left (363 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{128 a^3}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}-\frac {19 \sqrt {\sec (c+d x)} \sin (c+d x)}{48 a d (a+a \cos (c+d x))^{5/2}}-\frac {199 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^2 d (a+a \cos (c+d x))^{3/2}}+\frac {691 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^3 d \sqrt {a+a \cos (c+d x)}}+\frac {\left (363 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \operatorname {Subst}\left (\int \frac {1}{2 a^2+a x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{64 a^2 d}\\ &=-\frac {363 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}}{64 \sqrt {2} a^{7/2} d}-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{6 d (a+a \cos (c+d x))^{7/2}}-\frac {19 \sqrt {\sec (c+d x)} \sin (c+d x)}{48 a d (a+a \cos (c+d x))^{5/2}}-\frac {199 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^2 d (a+a \cos (c+d x))^{3/2}}+\frac {691 \sqrt {\sec (c+d x)} \sin (c+d x)}{192 a^3 d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.92, size = 561, normalized size = 2.37 \[ \frac {2 \sin \left (\frac {c}{2}+\frac {d x}{2}\right ) \left (\frac {1}{1-2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}\right )^{3/2} \cos ^7\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^6\left (\frac {1}{2} (c+d x)\right ) \left (\frac {16 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \cos ^8\left (\frac {1}{2} (c+d x)\right ) \, _5F_4\left (2,2,2,2,\frac {5}{2};1,1,1,\frac {13}{2};\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}\right )}{3465 \left (2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1\right )}-\frac {\left (1-2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )\right )^2 \sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}} \csc ^{10}\left (\frac {c}{2}+\frac {d x}{2}\right ) \left (\sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}} \left (1144608 \sin ^{14}\left (\frac {c}{2}+\frac {d x}{2}\right )-6712984 \sin ^{12}\left (\frac {c}{2}+\frac {d x}{2}\right )+16548816 \sin ^{10}\left (\frac {c}{2}+\frac {d x}{2}\right )-22251094 \sin ^8\left (\frac {c}{2}+\frac {d x}{2}\right )+17646926 \sin ^6\left (\frac {c}{2}+\frac {d x}{2}\right )-8267707 \sin ^4\left (\frac {c}{2}+\frac {d x}{2}\right )+2120790 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-229635\right )+105 \left (8752 \sin ^8\left (\frac {c}{2}+\frac {d x}{2}\right )-26380 \sin ^6\left (\frac {c}{2}+\frac {d x}{2}\right )+27986 \sin ^4\left (\frac {c}{2}+\frac {d x}{2}\right )-12908 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )+2187\right ) \cos ^6\left (\frac {1}{2} (c+d x)\right ) \tanh ^{-1}\left (\sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-1}}\right )\right )}{1680}\right )}{d (a (\cos (c+d x)+1))^{7/2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.07, size = 204, normalized size = 0.86 \[ \frac {1089 \, \sqrt {2} {\left (\cos \left (d x + c\right )^{4} + 4 \, \cos \left (d x + c\right )^{3} + 6 \, \cos \left (d x + c\right )^{2} + 4 \, \cos \left (d x + c\right ) + 1\right )} \sqrt {a} \arctan \left (\frac {\sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )}}{\sqrt {a} \sin \left (d x + c\right )}\right ) + \frac {2 \, {\left (691 \, \cos \left (d x + c\right )^{3} + 1874 \, \cos \left (d x + c\right )^{2} + 1599 \, \cos \left (d x + c\right ) + 384\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}}}{384 \, {\left (a^{4} d \cos \left (d x + c\right )^{4} + 4 \, a^{4} d \cos \left (d x + c\right )^{3} + 6 \, a^{4} d \cos \left (d x + c\right )^{2} + 4 \, a^{4} d \cos \left (d x + c\right ) + a^{4} d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {7}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.24, size = 326, normalized size = 1.38 \[ -\frac {\left (-1+\cos \left (d x +c \right )\right )^{2} \left (-1089 \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+691 \left (\cos ^{4}\left (d x +c \right )\right ) \sqrt {2}-3267 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+1183 \left (\cos ^{3}\left (d x +c \right )\right ) \sqrt {2}-3267 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \sin \left (d x +c \right ) \cos \left (d x +c \right )-275 \left (\cos ^{2}\left (d x +c \right )\right ) \sqrt {2}-1089 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \sin \left (d x +c \right )-1215 \cos \left (d x +c \right ) \sqrt {2}-384 \sqrt {2}\right ) \cos \left (d x +c \right ) \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \sqrt {2}}{384 d \sin \left (d x +c \right )^{5} \left (1+\cos \left (d x +c \right )\right ) a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{7/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________